 <!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>我的钱包</title>
    <link rel="stylesheet" type="text/css" href="../../css/api.css"/>
    <link rel="stylesheet" type="text/css" href="../../css/common.css" />
    <link rel="stylesheet" type="text/css" href="../../css/wallet.css" />
   
</head>
<body>
	<div id="wrap">
	<div id="main">
	
		<div class="wallet">
			
			<img  class="icon-wallet" src="../../image/icon-wallet.png" />
			<div class="wallet-money">¥ <span id="money-num">0.00</span></div>
			<div class="wallet-money-intro">钱包余额（元）</div>
		
			<div class="btn-wallet-pay" onclick="openPay()">充值</div>
			<div class="btn-wallet-withdraw">余额提现</div>
		</div>
	
	</div>
	</div>
</body>
<script type="text/javascript" src="../../script/api.js"></script>
<script>
	apiready = function() {
		var money = $api.getStorage('money');
		$api.byId('money-num').innerHTML = money;
	}
	function openPay() {
		api.openWin({
	        name: 'pay',
	        url: '../pay/pay.html'
        });
	}
</script>
</html>